assertion statement in Chinese
Translation
Mobile
- 斷言語句
- "assertion" in Chinese : n. 1.主張,斷言,確言。 2.維護(hù),堅(jiān)持。 短語和例 ...
- "statement" in Chinese : n. 1.陳述,聲明,聲明書。 2.【法律】供述;交待。 ...
- "assertion" in Chinese : n. 1.主張,斷言,確言。 2.維護(hù),堅(jiān)持。 stand to ...
- "arbitrary assertion" in Chinese : 武斷, 任意斷定
- "assertion checker" in Chinese : 斷言檢查程序
- "assertion checking" in Chinese : 斷言檢查 用戶在程序中嵌入的斷言的檢查。
- "assertion data" in Chinese : 斷言數(shù)據(jù)
- "assertion database" in Chinese : 斷言數(shù)據(jù)庫
- "assertion element" in Chinese : 斷言元素
- "assertion judgment" in Chinese : 斷言判斷
- "assertion language" in Chinese : 判定語言
- "assertion list" in Chinese : 斷言表
- "assertion of rights" in Chinese : 維護(hù)權(quán)利
- "assertion operator" in Chinese : 斷言語句
- "assertion sign" in Chinese : 斷定符; 斷定號(hào)
Examples
- Assertion statements compile only when
僅當(dāng)定義了 - You can add assertion statements as the pre - or post - conditions of a method
可以將斷言語句作為方法的前置條件或后置條件來添加。 - An assertion statement specifies a condition that you expect to hold true at some particular point in your program
斷言語句指定在程序的某些特定點(diǎn)應(yīng)為真的條件。 - If you assume that an argument is not null , for example , use an assertion statement to check for that assumption
例如,如果假定某個(gè)參數(shù)不為null ,請(qǐng)使用一條斷言語句檢查該假定。 - Be especially careful about using function calls in assertion statements , because evaluating a function can have unexpected side effects
在斷言語句中使用函數(shù)調(diào)用時(shí)應(yīng)特別小心,因?yàn)橛?jì)算函數(shù)可能會(huì)有意外的副作用。 - When you run this code under the debugger , the assertion statement is evaluated , but in the release version , the comparison is not made , so there is no additional overhead
當(dāng)在調(diào)試器下運(yùn)行該代碼時(shí),將計(jì)算斷言語句,但是在發(fā)布版本中,將不進(jìn)行該比較,因此沒有額外的系統(tǒng)開銷。 - Discusses assertion statements , how they work , the benefits of using them catching logic errors , checking results of an operation , and testing error conditions , their interaction with
討論斷言語句,包括它們的工作方式,使用它們的好處(捕捉邏輯錯(cuò)誤、檢查操作的結(jié)果和測(cè)試錯(cuò)誤情況) ,它們與 - Therefore , assertion statements have zero overhead in your final release program ; you can use them liberally in your code without affecting the performance of your release version and without having to use
因此,斷言語句在最終發(fā)布程序中系統(tǒng)開銷為零;可以在代碼中大量使用斷言語句,而不影響“ release ”版本的性能,并且不必使用
Related
"assertion" in Chinese, "extrajudicial assertion" in Chinese, "global assertion" in Chinese, "assertion database" in Chinese, "intermittent assertion" in Chinese, "assertion element" in Chinese, "dynamic assertion" in Chinese, "assertion checking" in Chinese, "assertion language" in Chinese, "assertion list" in Chinese, "assertion of rights" in Chinese, "assertion operator" in Chinese, "assertion sign" in Chinese, "assertion training" in Chinese, "assertion training(at)" in Chinese, "assertion-level logic" in Chinese, "assertion-structured therapy" in Chinese, "assertional clarity" in Chinese,
Neighbors
What is the meaning of assertion statement in Chinese and how to say assertion statement in Chinese? assertion statement Chinese meaning, assertion statement的中文,assertion statement的中文,assertion statement的中文,translation, pronunciation, synonyms and example sentences are provided by ichacha.net.